import request from '@/utils/request'
// 查询分摊记录分页列表
export const getsharerecordapi = params => request.get('mbm-microservice-biz/mbm/apportionment/record/page', { params })
// 根据分摊列表Id查询详情列表
export const getcordxiangqingapi = params => request.get('mbm-microservice-biz/mbm/apportionment/record/getDetailsByPId', { params })
// 确认
export const postsureapi = data => request.post(`mbm-microservice-biz/mbm/apportionment/confirm?mainRecordId=${data.mainRecordId}`)
// 重算
export const postchongsuanapi=id=>request.post(`/mbm-microservice-biz/mbm/apportionment/recalculate?mainRecordId=${id}`)